home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-07-19 | 4.0 KB | 85 lines | [TEXT/pdos] |
- Print - text file printer
- PR [-L] [-H] [-M#] [-N#] listfile [[-L] [-H] [-M#] [-N#] listfile...]
-
- Syntax Print [options] listfile [[options] listfile...]
-
- Description Print will print the specified files onto the currently selected
- printer. The files may be specified as either full or partial
- pathnames, and may contain APW wildcard characters. The program
- does NOT do any filetype checking. If you attempt to print an OBJ
- or S16 file (or anything that doesn't contain ASCII text), you'll
- probably be awarded with a lot of garbage being printed. Use
- caution!
-
- Command line switches may be used to modify the output to the
- printer, and are described below. The program will use the
- printercolumns and printerinit shell variables when accessing the
- printer.
-
- Input Print does not read standard input. All files to be printed must
- be specified on the command line.
-
- Output Print internally redirects standard output to the .PRINTER device.
-
- Diagnostics Errors and warnings are written to diagnostic output.
-
- Options The following options may be specified in any order on the command
- line. Options remain in effect until changed by another occurrance
- of the option on the command line. This can occur between filename
- specifications in case you wish to print one file using one format
- and print subsequent files using a different format.
-
- You can specify any combination of pathnames and switches, and as
- many as the length of the command line will allow. A space must
- separate every parameter specified on the command line. If there
- are no flags preceeding a pathname, the values of the associated
- program variables will maintain their previous values, or the
- default if no flags were specified at all.
-
- -l This switch toggles the setting of a program variable that
- decides whether or not line numbers will be printed on each
- line of the file. By default, this switch is set to OFF.
-
- -h This switch toggles the setting of a program variable that
- decides whether or not a heading is printed at the
- beginning of each page. The heading consists of the
- filename (minus any preceeding pathname), the current date,
- time, and page number. The default setting of this switch
- is ON.
-
- -m# This allows you to specify the number of spaces to print at
- the beginning of each line so that you can leave some space
- for three-hole punching. No spaces are allowed between the
- 'm' and the number. The program starts with this variable
- set to 0.
-
- -n# This switch allows you to specify the number of lines to
- print per page. No spaces are allowed between the 'n' and
- the number. The program starts out with this variable set
- to 60.
-
- Examples:
-
- print print.cc
-
- This will print the file "print.cc" to the printer, using the
- default program variable settings (heading-Yes, no left margin, 60
- lines per page, no line numbers).
-
- print -l print.cc
-
- Same as above, but WILL preceed each line of the file with a 5
- digit line number.
-
- print -l print.cc -h -l -m6 print.help
-
- Same as above, but in addition, will print the file "print.help"
- with no line numbers (the -l preceeding print.help will toggle line
- numbers back OFF), and with no page heading. A binding margin of 6
- spaces is also specified.
-
- print 3/=.lst
-
- Will list all files in the APW work directory (3/, normally your
- /RAM disk) that end in the characters ".lst".
-